package org.nbict.iot.protocol;

import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

/**
 * Created by songseven on 18/7/3.
 */
@Measurement(name="car_gis")
public class DTO {
    @Column(name = "time")
    private String timestamp;
    @Column(name = "lon")
    private Long lon;
    @Column(name = "lat")
    private Long lat;
    @Column(name = "vin")
    private String vin;

    @Override
    public String toString(){
        return timestamp + " : " + lon + " : " + lat + " : " + vin;
    }
}